SOUND PLAYING

This command will return an integer value of one if the specified Sound Number is playing, otherwise zero will be returned.

  Syntax
Return Integer=SOUND PLAYING(Sound Number)
  Parameters
Sound Number
Integer
The sound number

  Returns

The command will return an integer value of one if the specified Sound Number is playing, otherwise zero will be returned

  Example Code
cls
load sound "man.wav",1
play sound 1
print "is sound playing "+str$(sound playing(1))
wait 1000*8
stop sound 1
do
loop
end
  See also

SOUND Commands Menu
Index